//你的代码将嵌在这里
#include <iostream>
using namespace std;
template <class T>
void change(T& a,T&b)
{
    T temp=a;
    a=b;
    b=temp;
}


int main()

{

         int i1=92,i2=-31;
         float f1=161.2f,f2=-3.6f;
         char c1='a',c2='M';
         cout<<"**********1**********\n";
         cout<<i1<<"\t"<<i2<<endl;
         change<int>(i1,i2);
         cout<<i1<<"\t"<<i2<<endl;
         cout<<"**********2**********\n";
         cout<<f1<<"\t"<<f2<<endl;
         change(f1,f2);
         cout<<f1<<"\t"<<f2<<endl;
         cout<<"**********3**********\n";
         cout<<c1<<"\t"<<c2<<endl;
         change(c1,c2);
         cout<<c1<<"\t"<<c2<<endl;

         return 0;



}

